//
//  ChooseDateViewController.m
//  WhatToEat
//
//  Created by Mac on 15/3/20.
//  Copyright (c) 2015年 Mac. All rights reserved.
//

#import "ChooseDateViewController.h"
#import "RBCustomDatePickerView.h"

@interface ChooseDateViewController ()

@end

@implementation ChooseDateViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self updateUI];
}

-(void)updateUI
{
      self.navigationItem.title=@"请修改出生日期";
//    self.navigationItem.title
//    UILabel *customLab = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
//    [customLab setTextColor:[UIColor whiteColor]];
//    customLab.text=@"请修改出生日期";
//
//    customLab.font = [UIFont boldSystemFontOfSize:20];
//    self.navigationItem.titleView = customLab;
    
    
    RBCustomDatePickerView *pickerView = [[RBCustomDatePickerView alloc] initWithFrame:self.baseView.bounds];
    
    [self.baseView addSubview:pickerView];

}

- (IBAction)nextAction:(UIButton *)sender
{
    
    [self.navigationController popViewControllerAnimated:YES];
    
}
@end
